package com.example.projectcode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.projectcode.model.Comprehensive;
import com.example.projectcode.vo.ComprehensiveVo;
import com.example.projectcode.vo.UpdateComprehensiveVo;

import java.util.List;

public interface ComprehensiveService extends IService<Comprehensive> {
    List<Comprehensive> selectAllComprehensive(Integer testPointid, String questionCategory);

    Comprehensive selectComprehensive(Integer testPointid, String questionCategory, Integer order);

    int countComprehensive(Integer TestPointidD,String questionCategory);

    Comprehensive selectComprehensiveByCpId(Integer cpId);

    int insertComprehensive(ComprehensiveVo comprehensiveVo);

    int updateComprehensiveById(UpdateComprehensiveVo updateComprehensiveVo);

    int deleteComprehensiveById(Integer comprehensiveId);

    List<Comprehensive> selectComprehensiveByTestPointId(Integer testPointId);
}
